
<html>
<head>
<title>test</title>
</head>
<body>
	<fieldset>
		<table background="images\bg_img1.jpg " width="933" height="412">
			<tr height="170">
				<td width="570px"></td>
				<td></td>
			</tr>
			<tr>
				<td></td>
				<td><table>
						<form method="POST" action="http://192.168.1.131:9999/user/login"
							name="frmLogin">
							<tr>
								<td>username:</td>
								<td><input type="text" name="username" value="Your name"
									size="20" maxlength="20"
									onfocus="if (this.value=='Your name')  this.value='';" /></td>
								<td></td>
								<td></td>
							</tr>
							<tr>
								<td>password:</td>
								<td><input type="password" name="password"
									value="Your password" size="20" maxlength="20"
									onfocus="if (this.value=='Your password')  this.value='';" /></td>
								<td></td>
								<td></td>
							</tr>
					</table></td>
			<tr>
				<td></td>
				<td><table>
						<tr>
							<td><input type="submit" name="login" value="login" /></td>
							<td><input type="reset" name="rs" value="reset"></td>
						</tr>
						</tr>
					</table></td>
		</table>
	</fieldset>
	</form>
	<script language="javascript">
		function login() {


		}

		function validateLogin() {
			var sUserName = document.frmLogin.username.value;
			var sPassword = document.frmLogin.password.value;
			var sinputCode = document.frmLogin.inputcode.value;
			if ((sUserName == "") || (sUserName == "Your name")) {
				alert("请输入用户名!");
				return false;
			}

			if ((sPassword == "") || (sPassword == "Your password")) {
				alert("请输入密码!");
				return false;
			}
			if ((sinputCode == "") || (sinputCode == "Your code")) {
				alert("请输入验证码!");
				return false;
			}
		}
	</script>
</body>
</html>